package com.ccit.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ccit.model.Suggestion;

import java.util.List;

public interface SuggestionService {
    public void addSuggestion(Suggestion suggestion);
    public void deleteSuggestion(String uuid);
    public void updateSuggestion(Suggestion suggestion);
    public Suggestion getSuggestion(String uuid);

    List<Suggestion> getAll();

    IPage<Suggestion> getByPhone(String phone, Integer pageNum, Integer pageSize,String status);

    IPage<Suggestion> getByPage(Integer pageNum, Integer pageSize);
}
